﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace RBS.Web.Models
{
    public class UserOrder
    {
        /// <summary>
        /// 酒店详情
        /// </summary>
        public RBS.Core.Model.Hotel.H_Hotels Hotel { get; set; }
        /// <summary>
        /// 订单详情
        /// </summary>
        public RBS.Core.Model.D_Order Order { get; set; }
        /// <summary>
        /// 菜单详情
        /// </summary>
        public IList<RBS.Core.Model.V_OrderDetails> OrderDetails { get; set; } 
        /// <summary>
        /// 邀请的好友
        /// </summary>
        public IList<RBS.Core.Model.D_Guest> OrderGuest { get; set; }  
        /// <summary>
        /// 用户优惠券
        /// </summary>
        public IList<RBS.Core.Model.P_Advertis_Payment> UserDeed { get; set; }
        /// <summary>
        /// 用户积分
        /// </summary>
        public int UserIntegration { get; set; }  
        
    }
    public class OrderViewModel
    {
        public OrderViewModel()
        {
            this.Number = RBS.Common.Utils.GetOrderNumber();
        }
        /// <summary>
        /// 订单编号
        /// </summary>
        public string Number { get; set; }
        /// <summary>
        /// 订单信息
        /// </summary>
        public RBS.Core.Model.D_Order OrderModel { get; set; }
        /// <summary>
        /// 菜单信息
        /// </summary>
        public IList<RBS.Core.Model.V_OrderDetails> OrderDetailsModel { get; set; }
        /// <summary>
        /// 座位信息
        /// </summary>
        public string SeateName { get; set; }
        /// <summary>
        /// 酒店优惠券信息
        /// </summary>
        public IList<RBS.Core.Model.P_Advertis_Payment> HotelDeed { get; set; }
        /// <summary>
        /// 食客信息
        /// </summary>
        public RBS.Core.Model.U_User User { get; set; }
        /// <summary>
        /// 食客积分
        /// </summary>
        public int UserIntegration { get; set; }
        /// <summary>
        /// 食客优惠券
        /// </summary>
        public IList<RBS.Core.Model.P_Advertis_Payment> UserDeed { get; set; }
        /// <summary>
        /// 结帐信息
        /// </summary>
        public RBS.Core.Model.D_Settlement Seetlement { get; set; }

    }
}